﻿namespace FiftyOne.Foundation.Mobile.Detection.Wurfl.Matchers
{
    using FiftyOne.Foundation.Mobile.Detection.Wurfl;
    using System;
    using System.Collections.Generic;

    internal class Results : List<Result>
    {
        internal Results()
        {
        }

        internal Results(DeviceInfo device)
        {
            base.Add(new Result(device));
        }

        internal void Add(DeviceInfo device)
        {
            base.Add(new Result(device));
        }

        internal void AddRange(DeviceInfo[] devices)
        {
            foreach (DeviceInfo info in devices)
            {
                this.Add(info);
            }
        }
    }
}

